.class public Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;
.super Ljava/lang/Object;


# instance fields
.field private collectionClassMap:Ljava/util/Map;

.field private fieldAliasMap:Ljava/util/Map;

.field private rootNode:Lorg/w3c/dom/Node;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    invoke-static {v0}, Ljava/util/Collections;->synchronizedMap(Ljava/util/Map;)Ljava/util/Map;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->collectionClassMap:Ljava/util/Map;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    invoke-static {v0}, Ljava/util/Collections;->synchronizedMap(Ljava/util/Map;)Ljava/util/Map;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->fieldAliasMap:Ljava/util/Map;

    return-void
.end method


# virtual methods
.method public addCollectionClass(Ljava/lang/String;Ljava/lang/Class;)V
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->collectionClassMap:Ljava/util/Map;

    invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public addFieldAlias(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->fieldAliasMap:Ljava/util/Map;

    invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public classForCollection(Ljava/lang/String;)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->collectionClassMap:Ljava/util/Map;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->collectionClassMap:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    goto :goto_0
.end method

.method public getAliasName(Ljava/lang/String;)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->fieldAliasMap:Ljava/util/Map;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->fieldAliasMap:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    goto :goto_0
.end method

.method public getCollectionClass(Ljava/lang/String;)Ljava/lang/Class;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->collectionClassMap:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/Class;

    return-object p0
.end method

.method public getCollectionClassMap()Ljava/util/Map;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->collectionClassMap:Ljava/util/Map;

    return-object v0
.end method

.method public getFieldAliasMap()Ljava/util/Map;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->fieldAliasMap:Ljava/util/Map;

    return-object v0
.end method

.method public getRootNode()Lorg/w3c/dom/Node;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->rootNode:Lorg/w3c/dom/Node;

    return-object v0
.end method

.method public setCollectionClassMap(Ljava/util/Map;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->collectionClassMap:Ljava/util/Map;

    return-void
.end method

.method public setFieldAliasMap(Ljava/util/Map;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->fieldAliasMap:Ljava/util/Map;

    return-void
.end method

.method public setRootNode(Lorg/w3c/dom/Node;)V
    .locals 0

    iput-object p1, p0, Lcom/wqmobile/sdk/pojoxml/core/PojoXmlInitInfo;->rootNode:Lorg/w3c/dom/Node;

    return-void
.end method
